home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (October 1991)
/
HamCall (Whitehall Publishing)(1991).bin
/
util
/
encrypt
/
demo.bat
< prev
next >
Wrap
DOS Batch File
|
1990-10-14
|
2KB
|
75 lines
ECHO OFF
CLS
ECHO IRIS Demonstration
ECHO ------------------
ECHO.
ECHO IRIS provides the MS-DOS user with access to commercial cryptographic
ECHO techniques such as high-speed DES encryption for securing large amounts
ECHO of data, the elegant RSA public key system, which has special properties
ECHO which lend it to the task of distributing keys in a large network, and
ECHO CRC calculation, useful for authentication.
ECHO.
PAUSE
CLS
ECHO IRIS file Encryption and Decryption
ECHO -----------------------------------
ECHO.
ECHO Encryption is performed by applying a particular encryption 'ALGORITHM'
ECHO and a user selected 'KEY' to the MS-DOS file which is to be secured.
ECHO This process results in the MS-DOS file being completely unusable
ECHO by anyone who does not have knowledge of the KEY employed.
ECHO.
ECHO Decryption is essentially the reverse of the above, and results in the
ECHO MS-DOS file being usable again.
ECHO.
ECHO Keys may be entered from the command line or may be stored in 'KEYFILES'.
ECHO.
PAUSE
CLS
ECHO To demonstrate the above, we will encrypt the following file:
ECHO.
TYPE ozy.txt
ECHO.
PAUSE
CLS
ECHO Now we will ENCRYPT the file ...
ECHO.
iris cipher /function=encrypt /plain=ozy.txt /keyv=1c-23-ea-f7-91-8f-91-d5
ECHO.
PAUSE
CLS
ECHO The MS-DOS file is now encrypted and looks like this:
ECHO.
ECHO -------------------------------------------------------------------------
TYPE ozy.txt
ECHO.
ECHO -------------------------------------------------------------------------
ECHO.
PAUSE
CLS
ECHO Now we will DECRYPT the file ...
ECHO.
iris cipher /function=decrypt /cipher=ozy.txt /keyv=1c-23-ea-f7-91-8f-91-d5
ECHO.
PAUSE
CLS
ECHO The (encrypted) MS-DOS file has been decrypted:
ECHO.
TYPE ozy.txt
ECHO.
PAUSE
CLS
ECHO There are many options available from the file encryption module
ECHO including various algorithms: RSA, DES etc, Keyboard entry of DES
ECHO keys, Binary and ASCII mode, echoing of plaintext or ciphertext
ECHO etc. The shortest form of the encrypt/decrypt command is:
ECHO.
ECHO IRIS CIPHER /FUNCTION=ENCRYPT /PLAIN=filename /KEYVALUE=keyphrase
ECHO IRIS CIPHER /FUNCTION=DECRYPT /CIPHER=filename /KEYVALUE=keyphrase
ECHO.
ECHO Be sure to remember the key value used, there is no way back without it !
ECHO.
ECHO ---- Demonstration complete ----